home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / database / foxpro / general next >
Text File  |  1994-04-08  |  18KB  |  425 lines

  1. Newsgroups: comp.databases.xbase.fox,comp.answers,news.answers
  2. Path: bloom-beacon.mit.edu!hookup!swrinde!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!nyx10!kcochran
  3. From: kcochran@nyx10.cs.du.edu (Keith "Justified And Ancient" Cochran)
  4. Subject: FoxPro Databases FAQ #1: You say you want a revolution?
  5. Message-ID: <1994Apr8.204517.22287@mnemosyne.cs.du.edu>
  6. Followup-To: comp.databases.xbase.fox
  7. Summary: General information about the Fox* collection of database products.
  8.          Posted monthly to comp.databases.xbase.fox, comp.answers, and
  9.          news.answers.
  10. X-Disclaimer: Nyx is a public access Unix system run by the University
  11.      of Denver for the Denver community.  The University has neither
  12.      control over nor responsibility for the opinions of users.
  13. Keywords: fox, foxpro, foxbase, databases, 'woof'
  14. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  15. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  16. Date: Fri, 8 Apr 94 20:45:17 GMT
  17. Approved: news-answers-request@MIT.Edu
  18. Lines: 404
  19. Xref: bloom-beacon.mit.edu comp.databases.xbase.fox:3824 comp.answers:4826 news.answers:17836
  20.  
  21. Archive-name: databases/foxpro/general
  22. Posting-frequency: monthly
  23.  
  24. [This is FAQ version 1.0.0.4 - Last Updated 03/06/94.  New sections or
  25. altered text are marked with ">" in the left hand column.  Please send
  26. all questions, comments, and whatnot to kcochran@nyx.cs.du.edu]
  27.  
  28. Welcome to comp.databases.xbase.fox.  This message is posted monthly,
  29. and can be found here, in news.answers, or you can receive a copy of
  30. this or any of the other comp.database.xbase.fox FAQ's by e-mailing me at
  31. kcochran@nyx.cs.du.edu.
  32.  
  33. Archiving at various sites (rtfm.mit.edu, etc) is currently under discussion.
  34. As more information is available, it will be put into this FAQ.
  35.  
  36. This message is split into the following sections:
  37.  
  38. 0.0 - What is an FAQ?
  39. 0.1 - What is comp.databases.xbase.fox?
  40. 0.2 - What is FoxPro?
  41. 0.2.1 - What are FoxBase, FoxBase+, and the rest?
  42. 0.3 - How do I get information?
  43. 0.3.1 - What other FAQ's are available?
  44.  
  45. 1.0 - I just brought FoxPro; now what?
  46. 1.1 - The FoxPro books.
  47. 1.2 - Third-Party books.
  48. 1.3 - Database and FoxPro magazines.
  49. 1.4 - MicroSoft technical support.
  50. 1.5 - FTP locations.
  51. 1.6 - Other locations for information.
  52.  
  53. 2.0 - What are the parts of FoxPro?
  54. 2.1 - The Developers kit.
  55. 2.2 - The Distribution kit.
  56. 2.3 - The Library Construction kit.
  57. 2.4 - The Connectivity kit.
  58.  
  59. 3.0 - I'm having a problem...
  60. 3.1 - Problems of "general" nature.
  61. 3.2 - Problems of "specific" nature.
  62. 3.3 - Problems with third-party add-ins.
  63. [Note:  Users have requested that we compile a "standard problem - solution"
  64.         list for inclusion in this section.  I'll be keeping that as a
  65.         seperate FAQ.]
  66.  
  67. [Note:  Sections are split with "******".]
  68.  
  69. Before we begin, I'd like to thank the following people not already
  70. mentioned in the FAQ for their assistance in putting this together:
  71. >   davec@wsti.demon.co.uk (David Churcher)
  72.    goudswaa@sfu.ca (Peter Goudswaard)
  73.    peace@world.std.com (Jeremy Stark)
  74.    OB71216@IBMH1.ORL.MMC.COM (Steve)
  75.    tdh@dweebus.telemax.com (Thomas D. Halter)
  76.    tonemb@mtfs.unit.no (Tone Merethe Berg)
  77.  
  78. ******
  79. 0.0 - What is an FAQ?
  80.       FAQ is short for "Frequently-asked-questions".  Over the course of
  81.       the net, especially in the technical areas, a lot of questions get
  82.       asked over and over and over ("How do I get my foo to bar in green
  83.       instead of red?").
  84.  
  85.       These questions get collected into a single message that is then
  86.       posted to the newsgroup at regular intervals (usually about once
  87.       a month).
  88.  
  89.       FAQ's also tend to have a lot of background information about the
  90.       newsgroup in question, information about the newsgroup, historical
  91.       persons important to the newsgroup, and I've even seen some that
  92.       have court cases in them.
  93.  
  94. ******
  95. 0.1 - What is comp.databases.xbase.fox?
  96.       comp.databases.xbase.fox (or c.d.x.f for short) is a newsgroup for
  97.       discussion about the Fox database management packages.  Technical
  98.       questions about Rushmore, the power tools, FoxBase, and other issues
  99.       are all relevant to c.d.x.f.
  100.  
  101.       General questions that relate specifically to FoxPro or the related
  102.       products (NetLib, dGE, etc) or technical questions about these items
  103.       are certainly relevant to the newsgroup.
  104.  
  105.       General questions about databases in general (I'm looking for a good
  106.       database package; How do I normalize my tables) should probably be
  107.       addressed in either comp.databases.xbase.misc or comp.databases.misc.
  108.       If you have a question of a general nature, you should also look
  109.       around the newsgroups list to see if there isn't a more relevant
  110.       group.
  111.  
  112.       c.d.x.f is not an advocacy group; please do not start discussions
  113.       about whether your Mac is better than the next guys IBM box.  Also,
  114.       you should avoid general slamming of products.  A conversation about
  115.       the differences between the FoxPro and Paradox screen builders would
  116.       be extremly informative; a post stating that "Paradox Sucks" is in
  117.       poor taste.
  118.  
  119. ******
  120. 0.2.1 - What are Foxbase, Foxbase+, and those other things?
  121.       The Fox database management packages are available for many
  122.       different operating systems and environments.  The various
  123.       packages are:
  124.  
  125.       Microsoft:
  126.          FoxPro 2.5 (DOS)
  127.          FoxPro 2.5 (Windows)
  128.          FoxPro 2.5 (Macintosh)
  129.          FoxPro 2.5 (Unix, to be released in 1994)
  130.  
  131.       Fox Software*:
  132.          FoxBASE+ (DOS)
  133.          FoxBASE+ (Macintosh)
  134.          FoxPro 1.1 (DOS)
  135.          FoxPro 2.0 (DOS)
  136.  
  137.       SCO (Santa Cruz Operation):
  138.          SCO FoxBASE+ (Unix)
  139.  
  140.       *Fox Software has been bought by Microsoft.  Their products are no
  141.        longer available, but are included here since many of their products
  142.        are still in use.
  143.  
  144. ******
  145. 0.3 - How do I get information?
  146.       This depends on what sort of information you need.  One of the best
  147.       places to get information is from the manuals.  If they don't give
  148.       you what you want, there are a wide variety of magazines, books,
  149.       FTP sites, and comp.* groups that may be able to provide you with
  150.       the information you need.
  151.  
  152. ******
  153. 0.3.1 - What other FAQ's are there?
  154.       You Say You Want A Revolution:
  155. >         (FAQ #1, archived at rtfm.edu under databases/foxpro/general)
  156.          This FAQ contains information of a general nature about c.d.x.f
  157.          It also contains address information for Microsoft, third-party
  158.          books about the Fox database management products, how to get
  159.          information from Microsoft, compuserve, and information about
  160.          FTP.
  161.  
  162.       See Fox.  See Fox Run.  Run, Fox, Run:
  163. >         (FAQ #2, archived at rtfm.edu under databases/foxpro/rushmore)
  164.          This FAQ contains information of both a general and a specific
  165.          nature about the Rushmore technology.
  166.  
  167.       Things Your Mamma Never Told You About:
  168.          This FAQ contains information about functions and commands in
  169.          FoxPro that "should" do something, but "don't", and those
  170.          commands that "shouldn't" do something, but "do".
  171.  
  172. ******
  173. 1.0 - I just brought FoxPro; now what?
  174.       The *FIRST THING TO DO* is to fill our your registration card,
  175.       and mail it off to Microsoft.  This will give you the ability
  176.       to call Microsoft Technical Support with your problems.
  177.  
  178.       Calling Microsoft support is a mixed blessing.  It may get your
  179.       question answered, but you may have no hair left by the time it
  180.       works.  Then again, MicroSoft support is _the place_ to make sure
  181.       that you are not working against a program bug.
  182.  
  183. ******
  184. 1.1 - The FoxPro books.
  185.       One of the best places to find information is within the FoxPro books
  186.       that you got when you brought your package.  The Language Reference
  187.       Manual is the first place you should look when a command doesn't work
  188.       the way you expected it to.
  189.  
  190.       The Developer's Guide also has a lot of information on things that they
  191.       don't really mention in the language reference.  If you are having
  192.       problems getting your procedures to work correctly in your screens,
  193.       try taking a look there.
  194.  
  195. ******
  196. 1.2 - Third-Party books.
  197.       There are many, many books on how to develop and program in FoxPro.
  198.  
  199.       Some of the ones you may find useful are:
  200.       [Note:  Your milage may vary.]
  201.  
  202.       peace@world.std.com (Jeremy Stark) recommends:
  203.       "FoxPro 2.5 Developing Full-Scale Applications For Windows"
  204.       Written by Nelson King, and published by MIS:Press.
  205.  
  206.       "It's actually a beginners book and includes sections on
  207.       table normalization, project planning, and other topics related
  208.       to the consulting end of database design."
  209.  
  210.       It comes with a disk, costs $34.95, and also has a cute fox on
  211.       the cover.
  212.  
  213.       goudswaa@sfu.ca (Peter Goudswaard) recommends:
  214.       "FoxPro 2.5 - Programmer's Reference" by John Hawkins,
  215.       Editor-In-Chief of Data-Based Advisor Magazine, published
  216.       by Que, ISBN 1-56529-210-3.
  217.  
  218.       "Programming FoxPro 2.5" by Miriam Liskin, by Ziff-Davis Press,
  219.       ISBN 1-56276-164-1.
  220.  
  221.       tonemb@mtfs.unit.no (Tone Merethe Berg) Recommends:
  222.       Using FoxPro 2.5 for Windows, by Lisa Slater and Steven Arnott.
  223.       ISBN 1-56529-002-X.
  224.       "This is an excellent book for people like me, starting close to
  225.        zero, as well as for some like me, getting closer to 'experienced'.
  226.        As for you guru's, I guess it isn't too bad, either."
  227.  
  228.       FoxPro 2.5 Advanced Developers Handbook.  Brady Publishing, 1993.
  229.       ISBN 0-13-325341-4.  According to the author, it includes
  230.       "undocumented secrets, strategies, and tips from the experts, and
  231.        is especially written for those developing applications for a
  232.        network.  Data security and corruption protection, as well as
  233.        error-handling, user-interfaces, UDF-creation and other programming
  234.        techniques are main chapters."
  235.  
  236. ******
  237. 1.3 - Database and FoxPro magazines.
  238.       In addition to the books available, there are several magazines that
  239.       deal with xbase products, and some that deal exclusivly with FoxPro.
  240.  
  241.       FoxTalk Magazine:
  242.       FoxTalk
  243.       Pinnacle Publishing, Inc.
  244.       PO Box 888
  245.       Kent, WA 98035-0888
  246.       COMPUSERVE Address: 72600,140
  247.       Editorial Hotline: (800) 788-1900
  248.       BBS (2400) (206) 251-6217
  249.       BBS (9600) (206) 251-6218
  250.  
  251. ******
  252. 1.4 - Microsoft technical support.
  253.       Microsoft technical support is available from 6am to 6pm pacific
  254.       time monday through friday, except for holidays.  In the US, call:
  255.  
  256.       (206) 635-7191 (FoxPro/DOS and FoxPro/Windows)
  257.       (206) 635-7192 (FoxPro/Macintosh)
  258.  
  259.       In Canada, support engineers are available at (905) 568-3503.
  260.  
  261.       Microsoft FastTips is available 24 hours a day, 7 days a week at
  262.       (800) 936-4100 with a touch-tone phone.   You can receive automated
  263.       answers to common questions and problems, or access a library of
  264.       technical notes, all delivered by recording or fax.
  265.  
  266. ******
  267. 1.5 - FTP locations.
  268.       You can FTP anonymously to microsoft.com, and look in the directory
  269.       /deskapps/fox/ for support and patch files, upgrade information, and
  270.       other information.  The IP address is 198.105.232.1
  271.  
  272.       There is also an FTP site at rahul.net, in the /pub/coneill/
  273.       directory.  The IP address is 192.160.13.1
  274.  
  275. ******
  276. 1.6 - Other sources of information.
  277.       COMPUSERVE:  At any ! prompt, type "go microsoft" to access the
  278.       Microsoft forums, "go mskb" to access the Microsoft Knowledge Base,
  279.       or "go foxforum" to access FoxPro specific information.
  280.  
  281. >      There is an existing FoxPro mailing list:
  282. >
  283. >         foxpro-l@polarbear.rankin.inlet.nt.ca
  284. >
  285. >      And there may be a second list forming:
  286. >
  287. >         foxpro-l@ukanvm.cc.ukans.edu
  288.  
  289. ******
  290. 2.0 - What are the parts of FoxPro?
  291.       There are many different parts to FoxPro, even within FoxPro itself.
  292.       Just because you have a compiled application doesn't mean that it will
  293.       work correctly.  For example, if your application uses printer drivers,
  294.       then you will have to include genpd.app as part of your project.
  295.  
  296.       Some of the other external parts of FoxPro are:
  297.       genscrn.prg - Generates your .spr file from the screen database.
  298.       genmenu.prg - Generates your .mpr file from the menu database.
  299.       beautify.app - Used to beautify applications brought over from other
  300. >         platforms.  It is not yet available for the DOS platform.
  301. >      foxdoc.app - Documentation generator.  This is known as foxdoc.exe
  302. >         in the DOS platform.
  303.       gengraph.app - Graph generator.
  304.       spellchk.app - Spell checker.
  305.       genxtab.prg - Generation cross-tabulations from a database.
  306.       transport.prg - Used to migrate applications across platforms.
  307.  
  308. ******
  309. 2.1 - The Developers kit.
  310.       This is the "best known" of the FoxPro parts.  This the set that
  311.       gives you the "command window", and allows you to create applications,
  312.       databases, compile them, etc.
  313.  
  314. ******
  315. 2.2 - The Distribution kit.
  316.       In order to run a FoxPro application, you have to have FoxPro, right?
  317.       Wrong.  Instead of forcing everybody to spend the $$$ to buy the
  318.       development kit just so they can run their accounting software, you
  319.       can purchase the Distribution Kit.
  320.  
  321.       The distribution kit allows you to distribute and run an application
  322.       without providing the full FoxPro interface (command window, filer,
  323.       etc).  This distribution is done ROYALTY-FREE.  Once you have brought
  324.       the distribution kit, and compiled your executable, you do not have
  325.       to pay MicroSoft anything in order to sell your application to
  326.       another person.
  327.  
  328. >      Note that the Distribution Kit does not actually compile your
  329. >      FoxPro code into machine language.  Instead, it produces an .EXE
  330. >      file containing a copy of the FoxPro interpreter and your program
  331. >      compiled into pseudo-code.
  332.  
  333. ******
  334. 2.3 - The Library Construction kit.
  335.       Found something that FoxPro won't do?  Want it to be able to do it?
  336.       Purchase the Library Construction kit, and teach FoxPro new tricks!
  337.  
  338.       The LCK allows you to write your own functions in C, and then link
  339.       them into FoxPro as a .plb file.  The functions have _NONE_ of the
  340.       limitations of .bin files (used by LOAD and CALL), and can take
  341.       full advantage of FoxPro's memory management, windowed i/o, and
  342.       other features.  You can even call FoxPro commands from within
  343.       your external function.
  344.  
  345. >      The LCK covers DOS and Windows platforms (Windows files have the
  346. >      extension .fll instead of .plb).  A C compiler is not included.
  347. >      The support C compilers are Microsoft C v8 and Watcom C v8.5.  It
  348. >      is possible to use Borland C++ v3.1 to produce Windows .FLL files,
  349. >      but this is not officially supported.
  350.  
  351.  
  352. ******
  353. 2.4 - The Connectivity kit.
  354.       What's that?  Human Resources has 10 years of information stored on
  355.       the server in SYBASE format, and they want you to analyze it?  With
  356.       the connectivity kit, this is no problem.  Just attach to the server,
  357.       log yourself into the database, and start analyzing.
  358.  
  359.       [Note:  I have not yet used the connectivity kit.  If anybody has,
  360.       could they drop me a line?]
  361.  
  362. ******
  363. 3.0 - I'm having a problem...
  364.       Join the club.  Fortunatly, the kind folks of c.d.x.f will be more
  365.       than happy to help solve your FoxPro problems.
  366.  
  367.       SOME RULES TO MAKE YOUR LIFE EASIER:
  368.  
  369.       (1)Please be sure to mention what VERSION and ENVIRONMENT of Fox*
  370.          you are using.  Some of the things you can do in FoxPro 2.5
  371.          will not work at all under FoxBase+, or on the Unix flavors.
  372.  
  373.       (2)Please be sure to mention anything odd that you are doing.
  374.          Specifically, .plb files and SQL tends to cause "strange"
  375.          things to happen.  If you have the files in a project, please
  376.          be sure to mention that.  If you are using the distribution kit,
  377.          and the problem only appears when you are running it under the
  378.          distribution kit, please mention that.
  379.  
  380.          IF YOU ARE MIGRATING AN APPLICATION FROM ANOTHER XBASE PRODUCT,
  381.          MENTION IT!
  382.  
  383.       (3)Do _NOT_ end your question with "Please e-mail me the answer,
  384.          as I don't read this newsgroup".  I mention this for a couple
  385.          of reasons:
  386.          
  387.          (1)Not everybody has the ability to cc: people on postings.
  388.             The problem you are having may be the same problem that
  389.             many other people are having.
  390.  
  391.          (2)The problem that I have next week is something that you
  392.             might be able to solve for me in an instant.  I don't think
  393.             it's really fair for you to get help from us if we have no
  394.             chance of getting help from you.
  395.  
  396. ******
  397. 3.1 - Problems of "general" nature.
  398.       These problems are generally of a "how do I..." nature, and are probably
  399.       most quickly solved by reading the manual.  I cannot emphasis enough
  400.       that the manuals and on-line help should be your first defense against
  401.       problems.
  402.   
  403.       For example, we recently had a poster ask "how do I generate a random
  404.       number between x and y?"  This problem can be solved by looking at
  405.       the RAND() function in the Language Reference Manual.
  406.  
  407. ******
  408. 3.2 - Problems of "specific" nature.
  409.       If you've got specific problems, please be sure provide enough detail
  410.       with your post to allow us to help you.  Code samples are always
  411.       nice, as is a short (or long) description of what it is you are
  412.       trying to do.  If you have databases linked with SET RELATION, please
  413.       be sure to mention this.
  414.  
  415. ******
  416. 3.3 - Problems with third-party add-ins.
  417.       Probably the best place to solve problems with .plb files is with
  418.       the company that produces it.  But you may be able to get better
  419.       response by fishing in c.d.x.f
  420. --
  421. =kcochran@nyx.cs.du.edu | B(0-4) c- d- e++ f- g++ k(+) m r(-) s++(+) t | TSAKC=
  422. =My thoughts, my posts, my ideas, my responsibility, my beer, my pizza.  OK???=
  423. =I'm sure that Vicki Robinson would never let Kibo engage in genocide against =
  424. =Armenians in Turkey.                                                         =
  425.